"""
@name: myexception.py
@auth: zzw
@date: 2022/12/29 12:29
@desc: 
"""


class MyException(Exception):

    def __init__(self, error_msg):
        super().__init__(self)
        self.error_msg = error_msg

    def __str__(self):
        return f"[MyException]信息: {self.error_msg}"

